﻿<Window x:Class="CI.PW.Display"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:CI.PW" xmlns:Controls="clr-namespace:CI.PW.Controls" Title="Mesopotamia" 
        WindowState="Maximized" Icon="Grid.ico" >
    <DockPanel LastChildFill="True" Name="dp">
        <Menu VerticalAlignment="Top" DockPanel.Dock="Top" IsMainMenu="True" Name="MainMenu">
            <MenuItem Header="_Scenario">
                <MenuItem Header="_New" Click="MenuItem_NewClick" />
                <MenuItem Header="_Restart" Click="MenuItemRestartClick" />
                <MenuItem Header="E_xit" Command="local:Display.ExitApp" />
            </MenuItem>
            <MenuItem Header="_Option">
                <MenuItem Name="HideExternalWindow" Header="_Hide External Window" Click="MenuItemSemwClick" Visibility="Collapsed"/>
                <MenuItem Name="EnableNNetAnimations" Header="NNet Animations">
                    <MenuItem Name="Off" Header="Off" Click="SetNNetVisibilty"  />
                    <MenuItem Name="Indicitive" Header="Indicitive" Click="SetNNetVisibilty" />
                    <MenuItem Name="RealTime" Header="Real Time" Click="SetNNetVisibilty"/>
                </MenuItem>
                <MenuItem Name="MenuPause" Header="_Pause" Command="local:Display.PauseApp" Visibility="Collapsed" />
            </MenuItem>
            <MenuItem Header="_Help">
                <MenuItem Header="_About" Click="MenuItem_AboutClick"/>
                <MenuItem Header="_TestCrash" Click="MenuItemExceptionClick" Visibility="Hidden" Name="TestCrash" />
            </MenuItem>
        </Menu>
        <UniformGrid ClipToBounds="True" Rows="2" VerticalAlignment="Top" Name="uGrid" >
            <Controls:StatusControl x:Name="statusControl" ClipToBounds="True" />
            <local:Genes2D x:Name="genes2D"  ClipToBounds="True"/>
            <Controls:NeuralNetworkWPF x:Name="nnWPF" ClipToBounds="True"/>
        </UniformGrid>
    </DockPanel>
</Window>
